/**
 * 保存文章评论
 * @param {*} body
 * @returns
 */
export const useNoteSaveCommentApi = (body) => {
    return useHttpPost("/v1/cnote/saveComment",{body})
}

/**
 * 根据文章Id查询对应评论
 * @param {*} body
 * @returns
 */
export const useNoteLoadCommentApi = (body) => {
    return useHttpPost("/cnote/pageComment",{body})
}

/**
 * 根据id删除评论
 * @param {*} body
 * @returns
 */
export const useNoteDelCommentApi = (body) => {
    return useHttpPost("/v1/cnote/delComment",{body})
}

/**
 * 保存文章回复
 * @param {*} body
 * @returns
 */
export const useNoteSaveCommentReplyApi = (body) => {
    return useHttpPost("/v1/cnote/saveCommentReply",{body})
}

/**
 * 根据文章Id查询对应回复
 * @param {*} body
 * @returns
 */
export const useNoteLoadCommentReplyApi = (body) => {
    return useHttpPost("/cnote/pageCommentRepley",{body})
}

/**
 * 根据id删除回复
 * @param {*} body
 * @returns
 */
export const useNoteDelCommentReplyApi = (body) => {
    return useHttpPost("/v1/cnote/delCommentReply",{body})
}